package com.mhz.cae.util;

import org.anddev.andengine.extension.physics.box2d.util.constants.PhysicsConstants;

public class CoordonateConverter {

	private CoordonateConverter() {

	}

	public static float faceToBody(float coordonate, float distance) {
		return (coordonate / PhysicsConstants.PIXEL_TO_METER_RATIO_DEFAULT) + ((distance / 2) / PhysicsConstants.PIXEL_TO_METER_RATIO_DEFAULT);
	}

}
